package com.zhs.gccs.mapbox;

import java.util.List;

public class MapLegend {
    private int group;//1图层组  2：图层
    private String groupName;
    private boolean open;//
    private String tag;
    private boolean selected;
    private int img;
    private int selectedImg;
    private List<String> layers;
    private boolean labelFilter;
    private Long count;
    private List<MapLegend> children;
    private String val;
    ////////////////////////////////////////////////////////////
    public static final int g_group = 1;
    public static final int g_layer = 2;
    ////////////////////////////////////////////////////////////
    public static final int mode_xm = 1;
    public static final int mode_feed = 2;
    ////////////////////////////////////////////////////////////
    public static final String legend_yhc = "已核查";
    public static final String legend_whc = "未核查";
    ////////////////////////////////////////////////////////////
    public static final String legend_ghsj = "规划设计";
    public static final String legend_gdly = "耕地利用";
    public static final String legend_ggyps = "灌溉与排水";
    public static final String legend_ntspd = "农田输配电";
    public static final String legend_ntfhysthjbh = "农田防护与生态环境保持";
    public static final String legend_trgl = "土壤改良";
    public static final String legend_tjdl = "田间道路";
    public static final String legend_tdpz = "土地平整";
    public static final String legend_tkzz = "田块整治";
    public static final String legend_qt = "其他";
    ////////////////////////////////////////////////////////////



    public static final String legend_fh = "符合";
    public static final String legend_bffh = "部分符合";
    public static final String legend_tzgz = "提质改造";
    public static final String legend_xjxm = "新建项目";
    public static final String legend_st = "水田";
    public static final String legend_sjd = "水浇地";
    public static final String legend_hd = "旱地";
    ////////////////////////////////////////////////////////////
    public static final String source_boundary = "xm_boundary";//
    public static final String layer_boundary_line = "layer_boundary_line";//
    ////////////////////////////////////////////////////////////
    public static final String source_xm = "xm";//

    public static final String layer_xm_fh_line = "xm_fh_line";//符合
    public static final String layer_xm_fh_fill = "xm_fh_fill";//
    public static final String layer_xm_fh_selected = "xm_fh_selected";//
    public static final String layer_xm_fh_selected_line = "xm_fh_selected_line";//

    public static final String layer_xm_jbfh_line = "xm_jbfh_line";//基本符合
    public static final String layer_xm_jbfh_fill = "xm_jbfh_fill";//
    public static final String layer_xm_jbfh_selected = "xm_jbfh_selected";//
    public static final String layer_xm_jbfh_selected_line = "xm_jbfh_selected_line";

    public static final String layer_xm_tsgz_line = "xm_tsgz_line";//需要提质改造
    public static final String layer_xm_tsgz_fill = "xm_tsgz_fill";//
    public static final String layer_xm_tsgz_selected = "xm_tsgz_selected";//
    public static final String layer_xm_tsgz_selected_line = "xm_tsgz_selected_line";

    public static final String layer_xm_yhc_line = "xm_yhc_line";//已核查
    public static final String layer_xm_yhc_fill = "xm_yhc_fill";//
    public static final String layer_xm_yhc_selected = "xm_yhc_selected";//
    public static final String layer_xm_yhc_selected_line = "xm_yhc_selected_line";

    public static final String layer_xm_whc_line = "xm_whc_line";//未核查
    public static final String layer_xm_whc_fill = "xm_whc_fill";//
    public static final String layer_xm_whc_selected = "xm_whc_selected";//
    public static final String layer_xm_whc_selected_line = "xm_whc_selected_line";

    public static final String source_newxm = "newxm";//
    public static final String layer_newxm_line = "newxm_line";//新建项目
    public static final String layer_newxm_fill = "newxm_fill";//
    public static final String layer_newxm_selected = "newxm_selected";//
    public static final String layer_newxm_selected_line = "newxm_selected_line";//

    public static final String layer_newxm_yhc_line = "newxm_yhc_line";//已核查新建项目
    public static final String layer_newxm_yhc_fill = "newxm_yhc_fill";//
    public static final String layer_newxm_yhc_selected = "newxm_yhc_selected";//
    public static final String layer_newxm_yhc_selected_line = "newxm_yhc_selected_line";




    public static final String layer_newxm_whc_line = "newxm_whc_line";//未核查新建项目
    public static final String layer_newxm_whc_fill = "newxm_whc_fill";//
    public static final String layer_newxm_whc_selected = "newxm_whc_selected";//
    public static final String layer_newxm_whc_selected_line = "newxm_whc_selected_line";


    public static final String source_feedback = "feedback";//
    public static final String layer_feedback_symbol = "feedback_symbol";
//    public static final String layer_feedback_symbol_selected = "feedback_symbol_selected";


    public static final String source_gccj = "task_gccj";//
    public static final String layer_gccj_symbol = "task_gccj_symbol";

    public static final String source_gccs = "task_gccs";//
    public static final String layer_gccs_symbol = "task_gccs_symbol";

    public static final String layer_gccj_ycj_line = "newxm_yhc_line";//已核查新建项目
    public static final String layer_gccj_ycj_fill = "newxm_yhc_fill";//
    public static final String layer_gccj_ycj_selected = "newxm_yhc_selected";//
    public static final String layer_gccj_ycj_selected_line = "newxm_yhc_selected_line";
    ///////////////////////////////////////////////////////////


    public static final String source_feedback_gj = "feedback_gj";//
    public static final String layer_feedback_gj_line = "feedback_gj_line";
    public static final String source_feedback_gj_p = "feedback_gj_p";//
    public static final String layer_feedback_gj_point = "feedback_gj_point";


    public static final String source_sc_address = "sc_address";//
    public static final String layer_sc_address_symbol = "sc_address_symbol";


    public static final String source_nav = "na_s";//
    public static final String layer_nav_line = "layer_nav_line";

    ///////////////////////////////////////////////////////////
    public static final String layer_st = "s_st_layer";//水田
    public static final String layer_st_db = "s_st_layer_db";//
    public static final String layer_sjd = "s_sjd_layer";//水浇地
    public static final String layer_sjd_db = "s_sjd_layer_db";//水浇地
    public static final String layer_hd = "s_hd_layer";//旱地
    public static final String layer_hd_db = "s_hd_layer_db";//旱地
    ////////////////////////////////////////////////////////////

    public MapLegend(int group, String groupName, boolean open) {
        this.group = group;
        this.groupName = groupName;
        this.open = open;
    }

    public MapLegend(int group, String tag, boolean selected, boolean labelFilter, int img, int selectedImg, List<String> layers) {
        this.tag = tag;
        this.group = group;
        this.selected = selected;
        this.labelFilter = labelFilter;
        this.img = img;
        this.selectedImg = selectedImg;
        this.layers = layers;
    }


    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }

    public int getGroup() {
        return group;
    }

    public void setGroup(int group) {
        this.group = group;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public List<MapLegend> getChildren() {
        return children;
    }

    public void setChildren(List<MapLegend> children) {
        this.children = children;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public boolean isLabelFilter() {
        return labelFilter;
    }

    public void setLabelFilter(boolean labelFilter) {
        this.labelFilter = labelFilter;
    }

    public List<String> getLayers() {
        return layers;
    }

    public void setLayers(List<String> layers) {
        this.layers = layers;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }

    public int getSelectedImg() {
        return selectedImg;
    }

    public void setSelectedImg(int selectedImg) {
        this.selectedImg = selectedImg;
    }
}
